package main

import (
	"fmt"
	"os"
)

var currentDir string

func main() {
	// 获取当前工作目录
	var err error
	currentDir, err = os.Getwd()
	if err != nil {
		fmt.Println("获取当前目录失败:", err)
		return
	}
	startHttpServer()
}
